'use client'
import dynamic from 'next/dynamic'

const Client = dynamic(() => import('./_client'), {
  ssr: false,
  loading: () => (
    <div className="min-h-screen flex items-center justify-center bg-bg-base text-text-muted text-caption">
      Chargement…
    </div>
  ),
})

export default function ClientWrapper({ id }: { id: string }) {
  return <Client params={Promise.resolve({ id })} />
}
